package com.cxyd.modules.monitor.service.impl;

import com.cxyd.modules.monitor.dao.MonitorDao;
import com.cxyd.modules.monitor.entity.StnMonitorEntity;
import com.cxyd.modules.monitor.service.MonitorService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class MonitorServiceImpl implements MonitorService {
    @Resource
    private MonitorDao monitorDao;

    @Override
    public List<StnMonitorEntity> getStnMonitorList() {
        return monitorDao.selectAll();
    }
}
